<?php

namespace app\api\model;

use think\Model;

class ImageModel extends BaseModel
{
    protected $table = "image";
    protected $hidden = ['delete_time', 'id', 'from'];


    //固定的函数名
    public function getUrlAttr($value, $data)
    {
        return $this->prefixImgUrl($value, $data);
    }
}

